package com.ming.mallchat.common.user.service;

import com.ming.mallchat.common.user.domain.enums.IdempotentEnum;
import com.ming.mallchat.common.user.pojo.UserBackpack;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 86150
 * @description 针对表【user_backpack(用户背包表)】的数据库操作Service
 * @createDate 2023-09-28 16:12:18
 */
public interface UserBackpackService {

    /**
     * @param uid            用户id
     * @param itemId         物品id
     * @param idempotentEnum 幂等类型
     * @param businessId     幂等id
     */
    void acquireItem(Long uid, Long itemId, IdempotentEnum idempotentEnum, String businessId);

}
